import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/Home'
import index from '../views/index'
import One from '../views/One';
import ClothesList from '../views/ClothesList'
import detail from '../views/detail'
import theme from '../views/theme'
import hot from '../views/hot'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import Resource from 'vue-resource'
Vue.use(MintUI)
Vue.use(Router)
Vue.use(Resource)
export default new Router({
  mode: 'hash',
  routes: [
    {
      path: '/',
      component: index
    },
    {
      path: '/One',
      component: One
    },
    {
      path: '/ClothesList',
      component: ClothesList
    },
    {
      name:'detail',
      path: '/detail',
      component: detail
    },
    {
      path: '/theme',
      component: theme
    },
    {
      path: '/hot',
      component: hot
    }
  ]
})
